package com.oxo.gulimall.product.dao;

import com.oxo.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author oxo
 * @email yuxizhou42@163.com
 * @date 2025-07-09 21:44:17
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {
    /**
     * 查询允许被检索的属性ID集合
     */
    List<Long> selectSearchAttrIds(@Param("attrIds") List<Long> attrIds);
}
